package com.usian.service;

import com.usian.pojo.TbContentCategory;

import java.util.List;

/**
 * @author shkstart
 * @create 2021-01-07 15:31
 */
public interface ContentCategoryService {

    List<TbContentCategory> selectContentCategoryByParentId(Long parentId);

    Integer insertContentCategory(TbContentCategory tbContentCategory);

    Integer deleteContentCategoryById(Long categoryId);

    Integer updateContentCategory(Long id, String name);
}
